package com.dragon.modules.yuegou.query.merchant;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.merchant.ThemeEntity;
import com.dragon.modules.yuegou.enums.merchant.ThemeIsDefault;
import com.dragon.modules.yuegou.enums.merchant.ThemeStatus;
import com.dragon.modules.yuegou.enums.merchant.ThemeType;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.time.LocalDateTime;

/**
 * 模板管理 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-09-23 15:31:49
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class ThemeQuery extends ThemeEntity implements Query<ThemeEntity> {

    /** 查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 模板名称查询条件 */
	@JsonUnwrapped(prefix = "name")
	private Condition<String> nameCondition;

    /** [枚举]模板类型：0-常用模板-COMMONTEMPLATE、1-活动模板-ACTIVETEMPLATE查询条件 */
	@JsonUnwrapped(prefix = "type")
	private Condition<ThemeType> typeCondition;

    /** 适用业态ID查询条件 */
	@JsonUnwrapped(prefix = "formId")
	private Condition<String> formIdCondition;

    /** 适用业态名称查询条件 */
	@JsonUnwrapped(prefix = "formName")
	private Condition<String> formNameCondition;

    /** 可适用等级ID查询条件 */
	@JsonUnwrapped(prefix = "levelId")
	private Condition<String> levelIdCondition;

    /** 可适用等级名称查询条件 */
	@JsonUnwrapped(prefix = "levelName")
	private Condition<String> levelNameCondition;

    /** [枚举]状态：0-下架-DOWN、1-上架-PUTAWAY查询条件 */
	@JsonUnwrapped(prefix = "status")
	private Condition<ThemeStatus> statusCondition;

    /** [枚举]是否默认：0-否-NO、1-是-YES查询条件 */
	@JsonUnwrapped(prefix = "isDefault")
	private Condition<ThemeIsDefault> isDefaultCondition;

    /** 悦主页效果图查询条件 */
	@JsonUnwrapped(prefix = "storeDemoImg")
	private Condition<String> storeDemoImgCondition;

    /** 悦主页-背景样式主图查询条件 */
	@JsonUnwrapped(prefix = "storeStyleImgMain")
	private Condition<String> storeStyleImgMainCondition;

    /** 悦主页-背景样式平铺图查询条件 */
	@JsonUnwrapped(prefix = "storeStyleImgRepeat")
	private Condition<String> storeStyleImgRepeatCondition;

    /** 导航色值查询条件 */
	@JsonUnwrapped(prefix = "navColor")
	private Condition<String> navColorCondition;

    /** 左边按钮色值查询条件 */
	@JsonUnwrapped(prefix = "btnLeftColor")
	private Condition<String> btnLeftColorCondition;

    /** 右边按钮色值查询条件 */
	@JsonUnwrapped(prefix = "btnRightColor")
	private Condition<String> btnRightColorCondition;

    /** 详情页-效果图查询条件 */
	@JsonUnwrapped(prefix = "detailDemoImg")
	private Condition<String> detailDemoImgCondition;

    /** 详情页-背景样式主图查询条件 */
	@JsonUnwrapped(prefix = "detailStyleImgMain")
	private Condition<String> detailStyleImgMainCondition;

    /** 详情页-背景样式平铺图查询条件 */
	@JsonUnwrapped(prefix = "detailStyleImgRepeat")
	private Condition<String> detailStyleImgRepeatCondition;

    /** 备注查询条件 */
	@JsonUnwrapped(prefix = "description")
	private Condition<String> descriptionCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 创建者查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 更新时间查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** 更新人ID查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public ThemeQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public ThemeQuery(ThemeEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public ThemeQuery(ThemeQuery other) {
		super(other);
		if (other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if (other.nameCondition != null) {
			this.nameCondition = other.nameCondition.copy();
		}
		if (other.typeCondition != null) {
			this.typeCondition = other.typeCondition.copy();
		}
		if (other.formIdCondition != null) {
			this.formIdCondition = other.formIdCondition.copy();
		}
		if (other.formNameCondition != null) {
			this.formNameCondition = other.formNameCondition.copy();
		}
		if (other.levelIdCondition != null) {
			this.levelIdCondition = other.levelIdCondition.copy();
		}
		if (other.levelNameCondition != null) {
			this.levelNameCondition = other.levelNameCondition.copy();
		}
		if (other.statusCondition != null) {
			this.statusCondition = other.statusCondition.copy();
		}
		if (other.isDefaultCondition != null) {
			this.isDefaultCondition = other.isDefaultCondition.copy();
		}
		if (other.storeDemoImgCondition != null) {
			this.storeDemoImgCondition = other.storeDemoImgCondition.copy();
		}
		if (other.storeStyleImgMainCondition != null) {
			this.storeStyleImgMainCondition = other.storeStyleImgMainCondition.copy();
		}
		if (other.storeStyleImgRepeatCondition != null) {
			this.storeStyleImgRepeatCondition = other.storeStyleImgRepeatCondition.copy();
		}
		if (other.navColorCondition != null) {
			this.navColorCondition = other.navColorCondition.copy();
		}
		if (other.btnLeftColorCondition != null) {
			this.btnLeftColorCondition = other.btnLeftColorCondition.copy();
		}

		this.setOther(other);
	}

	private void setOther(ThemeQuery other){
		if (other.btnRightColorCondition != null) {
			this.btnRightColorCondition = other.btnRightColorCondition.copy();
		}
		if (other.detailDemoImgCondition != null) {
			this.detailDemoImgCondition = other.detailDemoImgCondition.copy();
		}
		if (other.detailStyleImgMainCondition != null) {
			this.detailStyleImgMainCondition = other.detailStyleImgMainCondition.copy();
		}
		if (other.detailStyleImgRepeatCondition != null) {
			this.detailStyleImgRepeatCondition = other.detailStyleImgRepeatCondition.copy();
		}
		if(other.descriptionCondition != null) {
			this.descriptionCondition = other.descriptionCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
	}

	@Override
	public QueryWrapper<ThemeEntity> toQueryWrapper() {
		QueryWrapper<ThemeEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (nameCondition != null) {
			nameCondition.toWrapper(wrapper, COL_NAME);
		}
		if (typeCondition != null) {
			typeCondition.toWrapper(wrapper, COL_TYPE);
		}
		if (formIdCondition != null) {
			formIdCondition.toWrapper(wrapper, COL_FORM_ID);
		}
		if (formNameCondition != null) {
			formNameCondition.toWrapper(wrapper, COL_FORM_NAME);
		}
		if (levelIdCondition != null) {
			levelIdCondition.toWrapper(wrapper, COL_LEVEL_ID);
		}
		if (levelNameCondition != null) {
			levelNameCondition.toWrapper(wrapper, COL_LEVEL_NAME);
		}
		if (statusCondition != null) {
			statusCondition.toWrapper(wrapper, COL_STATUS);
		}
		if (isDefaultCondition != null) {
			isDefaultCondition.toWrapper(wrapper, COL_IS_DEFAULT);
		}
		if (storeDemoImgCondition != null) {
			storeDemoImgCondition.toWrapper(wrapper, COL_STORE_DEMO_IMG);
		}
		if (storeStyleImgMainCondition != null) {
			storeStyleImgMainCondition.toWrapper(wrapper, COL_STORE_STYLE_IMG_MAIN);
		}
		if (storeStyleImgRepeatCondition != null) {
			storeStyleImgRepeatCondition.toWrapper(wrapper, COL_STORE_STYLE_IMG_REPEAT);
		}
		if (navColorCondition != null) {
			navColorCondition.toWrapper(wrapper, COL_NAV_COLOR);
		}
		if (btnLeftColorCondition != null) {
			btnLeftColorCondition.toWrapper(wrapper, COL_BTN_LEFT_COLOR);
		}
		if (btnRightColorCondition != null) {
			btnRightColorCondition.toWrapper(wrapper, COL_BTN_RIGHT_COLOR);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<ThemeEntity> getQueryWrapper(QueryWrapper<ThemeEntity> wrapper){
		if (detailDemoImgCondition != null) {
			detailDemoImgCondition.toWrapper(wrapper, COL_DETAIL_DEMO_IMG);
		}
		if (detailStyleImgMainCondition != null) {
			detailStyleImgMainCondition.toWrapper(wrapper, COL_DETAIL_STYLE_IMG_MAIN);
		}
		if (detailStyleImgRepeatCondition != null) {
			detailStyleImgRepeatCondition.toWrapper(wrapper, COL_DETAIL_STYLE_IMG_REPEAT);
		}
		if (descriptionCondition != null) {
			descriptionCondition.toWrapper(wrapper, COL_DESCRIPTION);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		return wrapper;
	}
	
	/**
	 * 构造并返回查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param idCondition 查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回模板名称查询条件
	 * 
	 * @return nameCondition 模板名称查询条件
	 */
	public Condition<String> name() {
		this.nameCondition = new Condition<>();
		return this.nameCondition;
	}
	
	/**
	 * 获取模板名称查询条件
	 * 
	 * @return nameCondition 模板名称查询条件
	 */
	public Condition<String> getNameCondition() {
		return nameCondition;
	}

	/**
	 * 设置模板名称查询条件
	 * 
	 * @param nameCondition 模板名称查询条件
	 */
	public void setNameCondition(Condition<String> nameCondition) {
		this.nameCondition = nameCondition;
	}

	/**
	 * 构造并返回[枚举]模板类型：0-常用模板-COMMONTEMPLATE、1-活动模板-ACTIVETEMPLATE查询条件
	 * 
	 * @return typeCondition [枚举]模板类型：0-常用模板-COMMONTEMPLATE、1-活动模板-ACTIVETEMPLATE查询条件
	 */
	public Condition<ThemeType> type() {
		this.typeCondition = new Condition<>();
		return this.typeCondition;
	}
	
	/**
	 * 获取[枚举]模板类型：0-常用模板-COMMONTEMPLATE、1-活动模板-ACTIVETEMPLATE查询条件
	 * 
	 * @return typeCondition [枚举]模板类型：0-常用模板-COMMONTEMPLATE、1-活动模板-ACTIVETEMPLATE查询条件
	 */
	public Condition<ThemeType> getTypeCondition() {
		return typeCondition;
	}

	/**
	 * 设置[枚举]模板类型：0-常用模板-COMMONTEMPLATE、1-活动模板-ACTIVETEMPLATE查询条件
	 * 
	 * @param typeCondition [枚举]模板类型：0-常用模板-COMMONTEMPLATE、1-活动模板-ACTIVETEMPLATE查询条件
	 */
	public void setTypeCondition(Condition<ThemeType> typeCondition) {
		this.typeCondition = typeCondition;
	}

	/**
	 * 构造并返回适用业态ID查询条件
	 * 
	 * @return formIdCondition 适用业态ID查询条件
	 */
	public Condition<String> formId() {
		this.formIdCondition = new Condition<>();
		return this.formIdCondition;
	}
	
	/**
	 * 获取适用业态ID查询条件
	 * 
	 * @return formIdCondition 适用业态ID查询条件
	 */
	public Condition<String> getFormIdCondition() {
		return formIdCondition;
	}

	/**
	 * 设置适用业态ID查询条件
	 * 
	 * @param formIdCondition 适用业态ID查询条件
	 */
	public void setFormIdCondition(Condition<String> formIdCondition) {
		this.formIdCondition = formIdCondition;
	}

	/**
	 * 构造并返回适用业态名称查询条件
	 * 
	 * @return formNameCondition 适用业态名称查询条件
	 */
	public Condition<String> formName() {
		this.formNameCondition = new Condition<>();
		return this.formNameCondition;
	}
	
	/**
	 * 获取适用业态名称查询条件
	 * 
	 * @return formNameCondition 适用业态名称查询条件
	 */
	public Condition<String> getFormNameCondition() {
		return formNameCondition;
	}

	/**
	 * 设置适用业态名称查询条件
	 * 
	 * @param formNameCondition 适用业态名称查询条件
	 */
	public void setFormNameCondition(Condition<String> formNameCondition) {
		this.formNameCondition = formNameCondition;
	}

	/**
	 * 构造并返回可适用等级ID查询条件
	 * 
	 * @return levelIdCondition 可适用等级ID查询条件
	 */
	public Condition<String> levelId() {
		this.levelIdCondition = new Condition<>();
		return this.levelIdCondition;
	}
	
	/**
	 * 获取可适用等级ID查询条件
	 * 
	 * @return levelIdCondition 可适用等级ID查询条件
	 */
	public Condition<String> getLevelIdCondition() {
		return levelIdCondition;
	}

	/**
	 * 设置可适用等级ID查询条件
	 * 
	 * @param levelIdCondition 可适用等级ID查询条件
	 */
	public void setLevelIdCondition(Condition<String> levelIdCondition) {
		this.levelIdCondition = levelIdCondition;
	}

	/**
	 * 构造并返回可适用等级名称查询条件
	 * 
	 * @return levelNameCondition 可适用等级名称查询条件
	 */
	public Condition<String> levelName() {
		this.levelNameCondition = new Condition<>();
		return this.levelNameCondition;
	}
	
	/**
	 * 获取可适用等级名称查询条件
	 * 
	 * @return levelNameCondition 可适用等级名称查询条件
	 */
	public Condition<String> getLevelNameCondition() {
		return levelNameCondition;
	}

	/**
	 * 设置可适用等级名称查询条件
	 * 
	 * @param levelNameCondition 可适用等级名称查询条件
	 */
	public void setLevelNameCondition(Condition<String> levelNameCondition) {
		this.levelNameCondition = levelNameCondition;
	}

	/**
	 * 构造并返回[枚举]状态：0-下架-DOWN、1-上架-PUTAWAY查询条件
	 * 
	 * @return statusCondition [枚举]状态：0-下架-DOWN、1-上架-PUTAWAY查询条件
	 */
	public Condition<ThemeStatus> status() {
		this.statusCondition = new Condition<>();
		return this.statusCondition;
	}
	
	/**
	 * 获取[枚举]状态：0-下架-DOWN、1-上架-PUTAWAY查询条件
	 * 
	 * @return statusCondition [枚举]状态：0-下架-DOWN、1-上架-PUTAWAY查询条件
	 */
	public Condition<ThemeStatus> getStatusCondition() {
		return statusCondition;
	}

	/**
	 * 设置[枚举]状态：0-下架-DOWN、1-上架-PUTAWAY查询条件
	 * 
	 * @param statusCondition [枚举]状态：0-下架-DOWN、1-上架-PUTAWAY查询条件
	 */
	public void setStatusCondition(Condition<ThemeStatus> statusCondition) {
		this.statusCondition = statusCondition;
	}

	/**
	 * 构造并返回[枚举]是否默认：0-否-NO、1-是-YES查询条件
	 * 
	 * @return isDefaultCondition [枚举]是否默认：0-否-NO、1-是-YES查询条件
	 */
	public Condition<ThemeIsDefault> isDefault() {
		this.isDefaultCondition = new Condition<>();
		return this.isDefaultCondition;
	}
	
	/**
	 * 获取[枚举]是否默认：0-否-NO、1-是-YES查询条件
	 * 
	 * @return isDefaultCondition [枚举]是否默认：0-否-NO、1-是-YES查询条件
	 */
	public Condition<ThemeIsDefault> getIsDefaultCondition() {
		return isDefaultCondition;
	}

	/**
	 * 设置[枚举]是否默认：0-否-NO、1-是-YES查询条件
	 * 
	 * @param isDefaultCondition [枚举]是否默认：0-否-NO、1-是-YES查询条件
	 */
	public void setIsDefaultCondition(Condition<ThemeIsDefault> isDefaultCondition) {
		this.isDefaultCondition = isDefaultCondition;
	}

	/**
	 * 构造并返回悦主页效果图查询条件
	 * 
	 * @return storeDemoImgCondition 悦主页效果图查询条件
	 */
	public Condition<String> storeDemoImg() {
		this.storeDemoImgCondition = new Condition<>();
		return this.storeDemoImgCondition;
	}
	
	/**
	 * 获取悦主页效果图查询条件
	 * 
	 * @return storeDemoImgCondition 悦主页效果图查询条件
	 */
	public Condition<String> getStoreDemoImgCondition() {
		return storeDemoImgCondition;
	}

	/**
	 * 设置悦主页效果图查询条件
	 * 
	 * @param storeDemoImgCondition 悦主页效果图查询条件
	 */
	public void setStoreDemoImgCondition(Condition<String> storeDemoImgCondition) {
		this.storeDemoImgCondition = storeDemoImgCondition;
	}

	/**
	 * 构造并返回悦主页-背景样式主图查询条件
	 * 
	 * @return storeStyleImgMainCondition 悦主页-背景样式主图查询条件
	 */
	public Condition<String> storeStyleImgMain() {
		this.storeStyleImgMainCondition = new Condition<>();
		return this.storeStyleImgMainCondition;
	}
	
	/**
	 * 获取悦主页-背景样式主图查询条件
	 * 
	 * @return storeStyleImgMainCondition 悦主页-背景样式主图查询条件
	 */
	public Condition<String> getStoreStyleImgMainCondition() {
		return storeStyleImgMainCondition;
	}

	/**
	 * 设置悦主页-背景样式主图查询条件
	 * 
	 * @param storeStyleImgMainCondition 悦主页-背景样式主图查询条件
	 */
	public void setStoreStyleImgMainCondition(Condition<String> storeStyleImgMainCondition) {
		this.storeStyleImgMainCondition = storeStyleImgMainCondition;
	}

	/**
	 * 构造并返回悦主页-背景样式平铺图查询条件
	 * 
	 * @return storeStyleImgRepeatCondition 悦主页-背景样式平铺图查询条件
	 */
	public Condition<String> storeStyleImgRepeat() {
		this.storeStyleImgRepeatCondition = new Condition<>();
		return this.storeStyleImgRepeatCondition;
	}
	
	/**
	 * 获取悦主页-背景样式平铺图查询条件
	 * 
	 * @return storeStyleImgRepeatCondition 悦主页-背景样式平铺图查询条件
	 */
	public Condition<String> getStoreStyleImgRepeatCondition() {
		return storeStyleImgRepeatCondition;
	}

	/**
	 * 设置悦主页-背景样式平铺图查询条件
	 * 
	 * @param storeStyleImgRepeatCondition 悦主页-背景样式平铺图查询条件
	 */
	public void setStoreStyleImgRepeatCondition(Condition<String> storeStyleImgRepeatCondition) {
		this.storeStyleImgRepeatCondition = storeStyleImgRepeatCondition;
	}

	/**
	 * 构造并返回导航色值查询条件
	 * 
	 * @return navColorCondition 导航色值查询条件
	 */
	public Condition<String> navColor() {
		this.navColorCondition = new Condition<>();
		return this.navColorCondition;
	}
	
	/**
	 * 获取导航色值查询条件
	 * 
	 * @return navColorCondition 导航色值查询条件
	 */
	public Condition<String> getNavColorCondition() {
		return navColorCondition;
	}

	/**
	 * 设置导航色值查询条件
	 * 
	 * @param navColorCondition 导航色值查询条件
	 */
	public void setNavColorCondition(Condition<String> navColorCondition) {
		this.navColorCondition = navColorCondition;
	}

	/**
	 * 构造并返回左边按钮色值查询条件
	 * 
	 * @return btnLeftColorCondition 左边按钮色值查询条件
	 */
	public Condition<String> btnLeftColor() {
		this.btnLeftColorCondition = new Condition<>();
		return this.btnLeftColorCondition;
	}
	
	/**
	 * 获取左边按钮色值查询条件
	 * 
	 * @return btnLeftColorCondition 左边按钮色值查询条件
	 */
	public Condition<String> getBtnLeftColorCondition() {
		return btnLeftColorCondition;
	}

	/**
	 * 设置左边按钮色值查询条件
	 * 
	 * @param btnLeftColorCondition 左边按钮色值查询条件
	 */
	public void setBtnLeftColorCondition(Condition<String> btnLeftColorCondition) {
		this.btnLeftColorCondition = btnLeftColorCondition;
	}

	/**
	 * 构造并返回右边按钮色值查询条件
	 * 
	 * @return btnRightColorCondition 右边按钮色值查询条件
	 */
	public Condition<String> btnRightColor() {
		this.btnRightColorCondition = new Condition<>();
		return this.btnRightColorCondition;
	}
	
	/**
	 * 获取右边按钮色值查询条件
	 * 
	 * @return btnRightColorCondition 右边按钮色值查询条件
	 */
	public Condition<String> getBtnRightColorCondition() {
		return btnRightColorCondition;
	}

	/**
	 * 设置右边按钮色值查询条件
	 * 
	 * @param btnRightColorCondition 右边按钮色值查询条件
	 */
	public void setBtnRightColorCondition(Condition<String> btnRightColorCondition) {
		this.btnRightColorCondition = btnRightColorCondition;
	}

	/**
	 * 构造并返回详情页-效果图查询条件
	 * 
	 * @return detailDemoImgCondition 详情页-效果图查询条件
	 */
	public Condition<String> detailDemoImg() {
		this.detailDemoImgCondition = new Condition<>();
		return this.detailDemoImgCondition;
	}
	
	/**
	 * 获取详情页-效果图查询条件
	 * 
	 * @return detailDemoImgCondition 详情页-效果图查询条件
	 */
	public Condition<String> getDetailDemoImgCondition() {
		return detailDemoImgCondition;
	}

	/**
	 * 设置详情页-效果图查询条件
	 * 
	 * @param detailDemoImgCondition 详情页-效果图查询条件
	 */
	public void setDetailDemoImgCondition(Condition<String> detailDemoImgCondition) {
		this.detailDemoImgCondition = detailDemoImgCondition;
	}

	/**
	 * 构造并返回详情页-背景样式主图查询条件
	 * 
	 * @return detailStyleImgMainCondition 详情页-背景样式主图查询条件
	 */
	public Condition<String> detailStyleImgMain() {
		this.detailStyleImgMainCondition = new Condition<>();
		return this.detailStyleImgMainCondition;
	}
	
	/**
	 * 获取详情页-背景样式主图查询条件
	 * 
	 * @return detailStyleImgMainCondition 详情页-背景样式主图查询条件
	 */
	public Condition<String> getDetailStyleImgMainCondition() {
		return detailStyleImgMainCondition;
	}

	/**
	 * 设置详情页-背景样式主图查询条件
	 * 
	 * @param detailStyleImgMainCondition 详情页-背景样式主图查询条件
	 */
	public void setDetailStyleImgMainCondition(Condition<String> detailStyleImgMainCondition) {
		this.detailStyleImgMainCondition = detailStyleImgMainCondition;
	}

	/**
	 * 构造并返回详情页-背景样式平铺图查询条件
	 * 
	 * @return detailStyleImgRepeatCondition 详情页-背景样式平铺图查询条件
	 */
	public Condition<String> detailStyleImgRepeat() {
		this.detailStyleImgRepeatCondition = new Condition<>();
		return this.detailStyleImgRepeatCondition;
	}
	
	/**
	 * 获取详情页-背景样式平铺图查询条件
	 * 
	 * @return detailStyleImgRepeatCondition 详情页-背景样式平铺图查询条件
	 */
	public Condition<String> getDetailStyleImgRepeatCondition() {
		return detailStyleImgRepeatCondition;
	}

	/**
	 * 设置详情页-背景样式平铺图查询条件
	 * 
	 * @param detailStyleImgRepeatCondition 详情页-背景样式平铺图查询条件
	 */
	public void setDetailStyleImgRepeatCondition(Condition<String> detailStyleImgRepeatCondition) {
		this.detailStyleImgRepeatCondition = detailStyleImgRepeatCondition;
	}

	/**
	 * 构造并返回备注查询条件
	 * 
	 * @return descriptionCondition 备注查询条件
	 */
	public Condition<String> description() {
		this.descriptionCondition = new Condition<>();
		return this.descriptionCondition;
	}
	
	/**
	 * 获取备注查询条件
	 * 
	 * @return descriptionCondition 备注查询条件
	 */
	public Condition<String> getDescriptionCondition() {
		return descriptionCondition;
	}

	/**
	 * 设置备注查询条件
	 * 
	 * @param descriptionCondition 备注查询条件
	 */
	public void setDescriptionCondition(Condition<String> descriptionCondition) {
		this.descriptionCondition = descriptionCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回创建者查询条件
	 * 
	 * @return createdByCondition 创建者查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取创建者查询条件
	 * 
	 * @return createdByCondition 创建者查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置创建者查询条件
	 * 
	 * @param createdByCondition 创建者查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置更新时间查询条件
	 * 
	 * @param modifiedTimeCondition 更新时间查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置更新人ID查询条件
	 * 
	 * @param modifiedByCondition 更新人ID查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

}
